import Layout from '@/layout/index.vue'
import QuestionList from '@/views/question/List.vue'
import QuestionCategory from '@/views/question/Category.vue'
// import QuestionListDiyPage from '@/views/question/QuestionListDiyPage.vue'
export default {
  path: '/question',
  component: Layout,
  name: 'question',
  meta: { weight: 5, title: '问答管理', open: true },
  children: [
    {
      path: '/question/list',
      name: 'question-list',
      component: QuestionList,
      meta: {
        title: '问答列表',
        addtab: true,
        keepalive: 'QuestionList'
      }
    },
    {
      path: '/question/category',
      name: 'question-type',
      component: QuestionCategory,
      meta: {
        title: '问答分类',
        addtab: true,
        keepalive: 'QuestionCategory'
      }
    }
  ]
}
